<?php echo '<h2> Diário de Classe </h2>
              <form action="/professor/listarDiario" method="post" >
             <table cellpadding="0" cellspacing="0" border="0" class="form_table">
              <tr>
              <td valign="middle" align="right">Selecione a Disciplina:
              </td>
              <td valign="middle" align="left">
              <select name="disciplina" class="inputgri">';
       
        foreach ($turmas as $turma) {
            echo  '<option value="'.$turma["disciplina_id"].'">'.$turma["nomedisciplina"].' - '.$turma["id"].'</option>';
        }
        echo '</select>
              </td>
              </tr>
              </table>
              <p><input type="submit" class="button" value="Visualizar" /></p>
              </form>';
?>